## Process this file with automake to produce Makefile.in
## Created by Anjuta - will be overwritten
## If you don't want it to overwrite it,
## 	Please disable it in the Anjuta project configuration

SUBDIRS = po src

GLADEFILES = \
	gvcs-commit.glade \
	gvcs-update.glade

libgvcs_commondocdir = ${prefix}/doc/gvcs-common
libgvcs_commondoc_DATA = \
	README\
	COPYING\
	AUTHORS\
	ChangeLog\
	INSTALL\
	NEWS\
	TODO

EXTRA_DIST = \
	autogen.sh \
	$(libgvcs_commondoc_DATA) \
	$(GLADEFILES)

install-glade:
	@$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
	
	for gladefile in $(GLADEFILES); do \
		$(INSTALL_DATA) $$gladefile $(DESTDIR)$(pkgdatadir); \
	done

install-data-local: install-glade
	$(NORMAL_INSTALL)

# Copy all the spec files. Of cource, only one is actually used.
dist-hook:
	for specfile in *.spec; do \
		if test -f $$specfile; then \
			cp -p $$specfile $(distdir); \
		fi \
	done
